<?php
/* @var $this UserController */
/* @var $model Userinfo */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>
<table>
	<tr>
		<td width="10%"><?php echo $form->label($model,'UserName'); ?></td>
		<td width="20%"><?php echo $form->textField($model,'UserName',array('size'=>50,'maxlength'=>50,'class'=>'text-input medium-input')); ?></td>
		<td width="10%"><?php echo $form->label($model,'checkFlag'); ?></td>
		<td width="20%"><?php echo $form->dropDownList($model, 'checkFlag', Yii::app()->params["checkFlag"],array('empty'=>'请选择')); ?></td>
		<td width="10%"><?php echo $form->label($model,'UserSex'); ?></td>
		<td width="20%"><?php echo $form->dropDownList($model, 'UserSex', Yii::app()->params["UserSex"],array('empty'=>'请选择')); ?></td>
		<td width="10%"><?php echo CHtml::submitButton('Search'); ?></td>
	</tr>
</table>
<?php $this->endWidget(); ?>

</div><!-- search-form -->